package org.example.springbirthday.enums;

import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/8/3
 * Time: 14:32
 */
@Getter
public enum ResultStatus {
    SUCCESS(200,"成功"),
    FAIL(-1,"失败"),
    NOLOGIN(-2,"未登录"),
    ;

    private final Integer code;
    private final String message;

    ResultStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
